package guoanmaker.operator.business.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.ProviderProvince;



public interface ProviderProvinceRepository extends JpaRepository<ProviderProvince, String>, JpaSpecificationExecutor<ProviderProvince>{
	@Query("select u from ProviderProvince u where u.code=:code")
    public ProviderProvince findBycode(@Param("code") String code);
}
